package cn.itlaobing.management.mapper;

import cn.itlaobing.management.entity.User;

public interface UserMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(User record);


    int insertSelective(User record);


    User selectByPrimaryKey(Integer id);


    int updateByPrimaryKeySelective(User record);


    int updateByPrimaryKey(User record);

    /**
     * 根据账号密码查询
     * @param user
     * @return
     */
    User selectByNameAndPass(User user);
}